package cn.iocoder.yudao.module.eval.controller.admin.evaluator.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.List;

@Schema(description = "管理后台 - 从用户批量创建考评员资质 Request VO")
@Data
public class EvalEvaluatorQualificationBatchCreateFromUsersReqVO {

    @Schema(description = "用户ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> userIds;

    @Schema(description = "可评价职业代码列表", example = "6-31-01-03,6-31-01-05")
    private String professionCodes;

    @Schema(description = "可评价技能等级", example = "五级,四级,三级")
    private String skillLevels;

    @Schema(description = "发证机构", example = "广东省人力资源和社会保障厅")
    private String certificateIssuer;

    @Schema(description = "发证日期")
    private LocalDate certificateDate;

    @Schema(description = "有效期至")
    private LocalDate validUntil;

    @Schema(description = "专业领域", example = "机械制造,电工技术")
    private String specialties;

    @Schema(description = "最大工作负荷", example = "15")
    private Integer maxWorkload;

    @Schema(description = "资质状态", example = "1")
    @NotNull(message = "资质状态不能为空")
    private Integer qualificationStatus;

}
